﻿
namespace Cos.Module.Blog.NHibernate.Test
{
    using System;
    using Cos.Core.NHibernate;

    using FluentNHibernate.Testing;

    using NUnit.Framework;

    [TestFixture]
    public class BlogModeratorDataModelFixture : BlogFixtureBase
    {
        [Test]
        public void CanMapBlogModeratorDataModel()
        {
            new PersistenceSpecification<BlogModeratorDataModel>(Session)
               .CheckProperty(x => x.ModeratorId, Guid.NewGuid())
               //.CheckReference(x => x.BlogId, this.Blog.Id)
                .VerifyTheMappings();
        }
    }
}
